/* AssetManager.css */
.asset-manager {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 顶部导航栏样式 */
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px 0 40px;
  border-bottom: 1px solid #f0f0f0;
}

.nav-tabs {
  display: flex;
  gap: 16px;
  align-items: center;
}

.tab {
  font-size: 16px;
  color: #666;
  padding: 0 28px;
  height: 40px;
  line-height: 40px;
  border-radius: 20px;
  background: #f7f8fa;
  cursor: pointer;
  position: relative;
  transition: background 0.2s, color 0.2s;
  border: none;
  display: flex;
  align-items: center;
  margin-right: 0;
}

.tab.active {
  color: #fff;
  background: #1890ff;
  font-weight: 500;
}

.tab:last-child {
  margin-right: 0;
}

.tab-limit {
  position: absolute;
  top: -8px;
  right: -18px;
  background: #ff4d4f;
  color: #fff;
  font-size: 12px;
  border-radius: 8px;
  padding: 0 6px;
  font-weight: 500;
  line-height: 18px;
  height: 18px;
  display: flex;
  align-items: center;
}

.top-right-actions {
  display: flex;
  gap: 12px;
}

.action-btn {
  font-size: 15px;
  color: #1890ff;
  background: #fff;
  border: 1px solid #e5e6eb;
  border-radius: 6px;
  padding: 0 16px;
  height: 36px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: border 0.2s, color 0.2s;
}

.action-btn:hover {
  border: 1px solid #1890ff;
  color: #0056b3;
}

/* 主内容区域样式 */
.content-wrapper {
  display: flex;
  flex: 1;
  padding: 0;
  min-height: 0;
}

.left-filters {
  width: 220px;
  padding: 0 40px 0 40px;
  border-right: 1px solid #f0f0f0;
}

.filter-header {
  margin-bottom: 20px;
}

.filter-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

.search-group {
  font-size: 14px;
  color: #999;
  padding: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: text;
}

.category-section {
  margin-top: 30px;
}

.category {
  font-size: 14px;
  color: #333;
  padding: 10px 12px;
  cursor: pointer;
}

.category.active {
  color: #1890ff;
  background-color: #e6f7ff;
  border-radius: 4px;
}

/* 主内容区样式 */
.main-content {
  flex: 1;
  padding: 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
}

.storage-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  width: 100%;
  justify-content: flex-end;
}

.storage-progress {
  width: 180px;
  height: 6px;
  background: #e3e7ed;
  border-radius: 3px;
  overflow: hidden;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}

.storage-progress-inner {
  height: 100%;
  background: #1890ff;
  transition: width 0.3s;
}

.storage-num {
  color: #1890ff;
  font-weight: 500;
  font-size: 16px;
  margin-right: 2px;
}

.storage-unit {
  color: #888;
  font-size: 15px;
  margin-right: 8px;
}

.storage-btn {
  background: none;
  border: none;
  font-size: 15px;
  color: #1890ff;
  padding: 0 8px;
  cursor: pointer;
  height: 36px;
  border-radius: 6px;
  margin-right: 0;
}

.primary-btn {
  background-color: #1890ff;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0 24px;
  font-size: 15px;
  height: 36px;
  cursor: pointer;
  margin-right: 0;
}

.secondary-btn {
  background-color: #fff;
  color: #333;
  border: 1px solid #e5e6eb;
  border-radius: 6px;
  padding: 0 24px;
  font-size: 15px;
  height: 36px;
  cursor: pointer;
}

/* 空状态样式 */
.asset-display {
  min-height: 60vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.empty-state {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 40px 0;
}

.bear-icon {
  margin-bottom: 20px;
}

.empty-text {
  font-size: 16px;
  color: #999;
}

/* 页脚样式 */
.footer {
  margin-top: auto;
  padding: 20px 40px;
  border-top: 1px solid #f0f0f0;
}

.copyright {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin-bottom: 8px;
}

.license {
  font-size: 10px;
  color: #999;
  text-align: center;
  line-height: 1.4;
}

/* 上传素材弹框样式 */
.upload-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-modal {
  background: #fff;
  border-radius: 10px;
  width: 90vw;
  max-width: 1200px;
  padding: 32px 24px 32px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  position: relative;
}
.upload-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 32px;
}
.upload-modal-close {
  font-size: 28px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
}
.upload-modal-close:hover {
  color: #1890ff;
}
.upload-modal-content {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.upload-card {
  background: #f8fafc;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  width: 260px;
  padding: 28px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}
.upload-card-icon {
  font-size: 38px;
  margin-bottom: 12px;
}
.upload-card-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}
.upload-card-desc {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-bottom: 18px;
  min-height: 38px;
}
.upload-card-btn {
  background: #1890ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 7px 0;
  width: 100%;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.upload-card-btn:hover {
  background: #40a9ff;
}
.upload-card-qr-text {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}
.upload-card-qr-placeholder {
  width: 120px;
  height: 120px;
  background: #e6e6e6;
  border-radius: 8px;
  margin: 0 auto;
}